package com.just.employment.po;

import java.util.List;

/**
 * 分页
 * @param <T>
 */

public class PageBean<T> {
    private int totalCount;//总记录条数
    private int totalpag;
    private List<T> list;
    private int currentPage;//当前页码
    private int rows;//每页显示的记录条数
    private Integer status;
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getTotalpag() {
        return totalpag;
    }

    public void setTotalpag(int totalpag) {
        this.totalpag = totalpag;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rowsl) {
        this.rows = rowsl;
    }

    @Override
    public String toString() {
        return "PageBean{" +
                "totalCount=" + totalCount +
                ", totalpag=" + totalpag +
                ", list=" + list +
                ", currentPage=" + currentPage +
                ", rows=" + rows +
                ", status=" + status +
                '}';
    }
}
